<?php

if (!defined('NOVA_RUN'))
{
	die('You can\'t access this file directly!');
}

/*
-------------------------------------------------------
*
*   NovaBoard 2
*   Copyright © 2011 NovaBoard team
*
*--------------------------------------------------------
*
*   Official site: www.novaboard.net
*   Contact e-mail: support@novaboard.net
*
*   GNU General Public License, version 2:
*   http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
---------------------------------------------------------
*/

class Config
{
	private static $settings = array();
	
	public static function add(array $settings)
	{
		self::$settings = $settings;
	}
	
	public static function get($key)
	{
		return self::$settings[$key];
	}
	
	public static function load()
	{
		return self::$settings = Cache::load('config');
	}
}

?>